/**
 * 仿国外博客的主题
 * 
 * @package Fresh01 for Y2sky
 * @author 燕儿
 * @version 1.0.0
 * @link http://y2sky.com
 */

/**全局样式   http://y2sky.com**/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,figure,header,hgroup,menu,nav,section,footer {font-weight:inherit;margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;}
@font-face {font-family: 'josefinsansRegular'; src: url('../font/josefinsans-webfont.woff') format('woff');font-weight: normal; font-style: normal;}
body { font-size: 13px;font-family:Microsoft YaHei,'\5FAE\8F6F\96C5\9ED1',WenQuanYi Micro Hei,'\6587\6CC9\9A7F\5FAE\7C73\9ED1',serif,PMingLiU,Arial; line-height: 1.5; color: #494949; }
h1,h2,h3,h4,h5{font-weight:normal}
a:link,a:visited{color:#666;text-decoration:none}
a:hover{text-decoration:none;color:#e00b0b}
.clear{content:".";display:block;height:0;clear:both;visibility:hidden}
#container{width: 555px; margin: 0 auto;}

/**头部样式  http://y2sky.com*/
header  {position: relative; margin: 0 auto 50px auto; text-align: center; }
header h1, header h2  { display: none; }
header img  { margin: 90px 0 0 0; }
header a.logo  { display: block; }
header a.logo:active  {padding-top: 2px; margin-bottom: -2px;}

/**导航栏样式  http://y2sky.com*/
nav  {width: 555px; margin: 0 auto; text-align: center; border-top: 1px solid #d8d8d8; }
nav ul {border-bottom: 1px solid #d8d8d8; margin: 0 0 1px 0;}
nav ul li  { display: inline; margin: 0 15px; }
nav ul li a:link, nav ul li a:visited  { padding: 0 7px 11px 7px;  line-height: 40px; font-size: 16px; text-decoration: none; color: #969696; }
nav ul li a:hover, nav ul li.current_page_item a  { color: #e00b0b; }


/**首页-顶部工具栏  http://y2sky.com*/
#tip { display:none; position: fixed!important; top: 30px!important; padding: 3px 8px 1px 8px; font-size:11px; font-weight: bold; text-transform: uppercase; color:#fff; background: #000; }
#quicklinks  { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; }
#quicklinks .inside  { width: 555px; margin: 0 auto; padding: 9px 10px 6px 10px;}
#quicklinks li  { float: left; display: block; overflow: hidden; height: 0; width: 18px; margin: 0 10px; padding-top: 20px; cursor: pointer; background-repeat: no-repeat; background-position: 0 -20px;  }
#quicklinks li.top  { background-image: url(../images/ico-top.png); }
#quicklinks li.bottom  { background-image: url(../images/ico-bottom.png); }
#quicklinks li.search  { background-image: url(../images/ico-search.png); }
#quicklinks li.links  { background-image: url(../images/ico-links.png); }
#quicklinks li.post  { background-image: url(../images/ico-post.png); }
#quicklinks li.comments  { background-image: url(../images/ico-comments.png); }
#quicklinks li.prev  { background-position: 0 -18px; background-image: url(../images/ico-prev.png); }
#quicklinks li.prev:hover  { background-position: 0 2px; }
#quicklinks li.next  { background-position: 0 -18px; background-image: url(../images/ico-next.png); }
#quicklinks li.next:hover  { background-position: 0 2px; }
#quicklinks li.seperate  { width: 1px; margin: 0 20px; background-position: 0 0!important; background-image: url(../images/ico-seperate.png); }
#quicklinks li:hover  { background-position: 0 0; }
#quicklinks li.home a  { background-image: url(../images/ico-home.png);}
#quicklinks li.rss a  { background-image: url(../images/ico-rss.png); }
#quicklinks li.tqq a  { background-image: url(../images/ico-tqq.png); }
#quicklinks li.twitter a  { background-image: url(../images/ico-twitter.png); }
#quicklinks li.home, #quicklinks li.rss, #quicklinks li.tqq, #quicklinks li.twitter{ height: auto; width: auto; margin: 0; padding: 0; }
#quicklinks li.home a, #quicklinks li.rss a, #quicklinks li.tqq a, #quicklinks li.twitter a{ float: left; display: block; overflow: hidden; height: 0; width: 18px; margin: 0 10px; padding-top: 20px; cursor: pointer; background-repeat: no-repeat; background-position: 0 -20px; }
#quicklinks li.home a:hover, #quicklinks li.rss a:hover , #quicklinks li.tqq a:hover,#quicklinks li.twitter a:hover{ background-position: 0 0; }
#quicklinks li.home{width:30px;padding-left:15px;}

/**主体内容  http://y2sky.com*/
section  { padding: 10px 0 10px 0;border-bottom:1px dotted #d8d8d8; padding: 20px 0 0 0;}
section .meta  { display: block; margin: 0 0 0 0; text-align:center;color:#969696}
section .meta a  { padding: 0 8px 0 0; line-height: 12px; font-size: 13px; color:#969696}
section .meta a:hover  {color: #e00b0b;}
section .meta .comments a  { padding: 0 0 0 22px; background: url(../images/redstar.png) no-repeat left top; }
section h2.title  {letter-spacing: 2px; margin-bottom: 10px;font-size:32px;font-weight:normal;line-height:48px;text-align: center; }
section h2.title a:link, section h2.title a:visited  {font-family:'josefinsansRegular',Microsoft YaHei,arial,serif;text-decoration: none!important;color:#666;}
section h2.title a:hover{color: #e00b0b;}
section .meta-comm,section .meta-cat,section .meta-time,section .meta-tag {font-family:'josefinsansRegular',Microsoft YaHei,arial,serif;padding-left:20px;margin-right:20px;background-repeat:no-repeat;background-position:1px 1px;font-size: 15px;}
section .meta-comm{background-image:url(../images/comment.png);}
section .meta-cat{background-image:url(../images/cat.png);}
section .meta-time {background-image:url(../images/date.png);}
section .meta-tag {background-image:url(../images/tag.png); }
section .entry  { line-height: 24px; }
section .entry p  { color:#494949;line-height:2em;margin-bottom:1em;text-shadow:0 1px 0 rgba(255,255,255,0.4) }
section .entry .pic{max-width: 555px; height:auto; width:expression(this.width > 555 ? "555px" : this.width);border:#ccc solid 1px;padding:5px;box-shadow:#f00 0px 0px 5px;-webkit-box-shadow: 5px 5px 7px #999;-moz-box-shadow: 5px 5px 7px #999;cursor:crosshair}
section pre,code {font-family:'andale mono','lucida console',monospace,"Microsoft YaHei",文泉驿微米黑;line-height:1.5;font-size:13px;}
section code,pre {-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;padding:10px;border:1px dashed #494949;display:block;line-height:16px;overflow:auto;}

/*首页-页码样式  http://y2sky.com*/
#pagenavi{text-align:center;}
#pagenavi,#cateName,#tagName{margin:auto 2px;text-shadow:0 1px 0 white;text-align:center;font-family:'josefinsansRegular',arial,serif;font-size:35px;font-weight:normal;line-height:40px;margin-bottom:10px;padding:6px 0;}
#pagenavi {width:555px;margin:0 auto;}
#pagenavi li {margin:0 8px 0 8px;	display:inline;}
#pagenavi li a {color:#aaa;text-decoration:none;}
#pagenavi li a:hover {color:#e00b0b;text-decoration:none;}
#pagenavi #line{margin:0 5px;margin-left:12px;}
#pagenavi .current a{color:#e00b0b;}
#hidenavi {display:none;}

/*网页脚部*/
footer  { font-size: 12px; color:#2a2a2a;margin:0 auto;width:555px;}
footer .b  { margin: 0 0 1px 0; padding: 15px 0; border-bottom: 1px dotted #d8d8d8; }
footer .copyright   { margin: 0 0 0 10px; text-align:justify }
footer .copyright #fleft{padding-right:30px;}
footer a:link, footer a:visited  { float: none; color: #2a2a2a; }
footer a:hover  { color: #e00b0b; }

/*评论样式   http://y2sky.com*/
#comments  { padding-top: 30px;border-top:1px dotted #CCC;width:555px;margin:0 auto;}
#comments h3, #response h3  { text-align: center; font-size: 18px;}
#comments ol.commentlist  { width: 100%; padding-top: 20px; background: url(../images/stars.png) no-repeat bottom center; }
#comments .comment, #comments .comment-container  { width:100%; position: relative; }
#comments .comment-head  { margin: 0 0 15px 0; padding: 5px 10px 7px 10px; border-bottom: 1px solid #d8d8d8; }
#comments .comment-head .comment-avatar { float:left;width:40px;height:30px;margin:6px 3px -5px;}
#comments .comment-head .comment-avatar img{width:32px;height:32px;border:#ccc dashed 1px; padding:2px;}
#comments .comment-head .comment-author  { display: block; margin: 0 0 -5px 0; line-height: 30px; font-weight: bold; font-size: 16px; }
#comments .comment-head .date, #comments .comment-head .edit, #comments .comment-head .ua_info { font-size: 11px; }
#comments .comment-entry  { padding: 0 10px; }
#comments .comment-entry p  { margin: 0 0 10px 0;}
#comments .comment-list li {margin:0;display:block;padding:10px 15px 5px;margin:10px 0  5px;border:1px solid #E0E0E0;background:#FFF;}
#comments .comment-children{ margin:10px 0 20px 0; padding:0;}
#comments .reply{float:right;text-align:right;}

/*评论框样式  http://y2sky.com */
.respond {margin:0;padding:0;}
.respond .border {margin-bottom:10px;	margin-top:10px;}
.respond .cancel-comment-reply {float:right;font-size:12px;z-index:99}
.respond .cancel-comment-reply a {border:none;color:#A0A0A0;}
.respond .cancel-comment-reply a:hover {color:#FF8C00;}
#comment_form {padding-right:8px;}
#comment_form label {font-size:14px;color:#555;}
#comment_form label .required {color:#FF8C00;padding-left:5px;font-size:14px;}
#comment_form .text {-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;width:250px;margin-right:15px;border:1px solid #D2D2D2;height:30px;margin:5px;}
#comment_form textarea {-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;width:100%;height:180px;border:1px solid #D2D2D2;margin:5px;}
#comment_form input:focus,#comment_form textarea:focus {border: 2px solid #e00b0b;}
#comment_form .submit {-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;color:#FFF;background:#e51010;border:1px solid #e51010;margin:5px 0;padding:2px;width:250px;height:35px;margin-left:5px;}
#comment_form .submit:hover {background:#000;border:1px solid #000;}
#comment_form #webmail{float:right;text-align:right;line-height:30px;}
#real-avatar .avatar {float:right;padding:2px;border:1px solid #ddd;margin-right:20px;_margin-right:10px;}
#comment_form #smiley{width:555px;margin-left:5px;}


/*评论-页码样式  http://y2sky.com*/
#commpagenavi{width:555px;margin:0 auto;margin:auto 2px;text-shadow:0 1px 0 white;text-align:center;font-family:'josefinsansRegular',arial,serif;font-size:30px;text-align:center;font-weight:normal;line-height:35px;margin-bottom:10px;padding:6px 0;}
#commpagenavi li {margin:0 8px;	display:inline;}
#commpagenavi li a {color:#494949;text-decoration:none;}
#commpagenavi li a:hover {text-decoration:none;}
#commpagenavi #line{margin:0 5px;margin-left:12px;}


/**侧边栏  http://y2sky.com*/
/**搜索栏*/
#searchform  { margin-top: 1px; border-top: 1px dotted #d8d8d8; margin:0 auto;width:553px;padding:30px 0;}
#searchform .field  { float: left; width: 320px; margin: -1px 10px 0 30px; padding: 12px 0 7px 10px; font-family: Helvetica, Arial, Sans-serif; font-size: 14px; color: #2a2a2a; background-color: #f3f3f3; border: 2px solid #dadada; }
#searchform .field:focus  { background-color: #fff; border: 2px solid #e00b0b; }
#searchform .button  { float: left; margin-left:30px; overflow: hidden; width: 100px; height: 0px; padding: 37px 0 0 0; border: none; background: url(../images/submit_search.png) no-repeat left top; cursor: pointer; }
#searchform .button:hover  { background: url(../images/submit_search_hover.png) no-repeat left top; cursor: pointer; }

/*工具栏  http://y2sky.com*/
#tools { margin: 1px 0 1px 0; padding: 10px 0; border-top: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8;margin:0 auto;width:555px;}
#tools .list  { float: left; width: 175px; margin: 0 5px; font-size: 12px; line-height: 24px; }
#tools .list h3  { margin: 0 0 15px 0; font-size: 14px; text-align: center; line-height: 10px; text-transform: uppercase; }
#tools .list.last  { margin-right: 0; }
#tools .list ul  { border-top: 2px solid #d8d8d8; }
#tools .list li  { padding: 0 5px; text-align: right; border-bottom: 1px dotted #d8d8d8; list-style-type: none;}
#tools .list.last li  { text-align: left; }
#tools .list.last li a  { float: none; }
#tools .list.last li span{ margin-right:10px} 
#tools .list a:link, #tools .list a:visited  { float: left; color: #2a2a2a; }
#tools .list a:hover  { color: #e00b0b; }
#tools .list .avatar {float:left;border:0;margin:3px;padding:0}
#tools .list .avatar img{padding: 1px;border: 1px dotted #d8d8d8;}
#tools .tags ul li a:link, #tools .tags ul li a:visited  { display: block; float: none;  font-size: 12px!important;  }

/*友情链接  http://y2sky.com*/
#links { margin: 1px 0 1px 0; padding: 10px 0; border-top: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8; margin:0 auto;width:555px;}
#links .list  { float: left; width: 555px; margin: 0 5px; font-size: 12px; line-height: 24px; }
#links .list h3  { margin: 0 0 5px 0; font-size: 14px; text-align: center; line-height: 10px; }
#links .list li  { padding: 0 5px; text-align: center; list-style-type: none;width:80px;float:left;height:24px;overflow:hidden;list-style:none}
#links .list a:link, #Links .list a:visited  { float: none; color: #2a2a2a; }
#links .list a:hover  { color: #e00b0b; }

/*辅助页面  http://y2sky.com*/
#reading .title,#reading .title a,#tags .title,#tags.title a,#link .title,#link.title a{font-family:Microsoft YaHei;border-bottom:1px solid #EAEAEA;margin-bottom:0;font-size:24px;text-align:center;}

/*归档页面  http://y2sky.com*/
#reading .entry{line-height:30px;margin-left:80px;text-align:left;padding-left:40px;margin-bottom:0;}
#reading .car-toggler{margin-left:120px;}
#reading .car-yearmonth{cursor:pointer}
#reading .car-monthlisting{padding-left:40px;}

/*关于页面  http://y2sky.com*/
#reading .post-txt,#reading .entry{line-height:30px;margin:10px auto;text-align:left;}
#reading .post-txt{text-indent:2em;}
#reading .post-txt img{float:right;border:#ccc solid 1px;padding:3px;background:#fafafa;}

/*留言本  http://y2sky.com*/
.greaders{margin:0px 0px 20px;border:0;width:555px}
.greaders ul {width:555px;list-style:none;padding-left:5px;border:0}
.greaders ul li {list-style:none;width:42px;height:42px;margin:5px 6px 5px;float:left;border:#ccc dashed 1px;padding:2px}

/*标签云  http://y2sky.com*/
#tags .tags{font-size:14px;}
#tags .tags a{margin:3px 5px;line-height:25px;}